# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>

# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=asteroid
pkgname=asteroid-wallpapers
pkgver=2.0.0
pkgrel=0
pkgdesc="Default set of wallpapers for AsteroidOS"
url="https://github.com/AsteroidOS/asteroid-wallpapers"
arch="noarch"
license="CC0-1.0 AND CC-BY-2.0 AND CC-BY-NC-SA-2.0"
source="$pkgname-$pkgver.tar.gz::https://github.com/AsteroidOS/asteroid-wallpapers/archive/refs/tags/$pkgver.tar.gz"
options="!check" # No code to test

package() {
	install -dm755 "$pkgdir"/usr/share/asteroid-launcher/wallpapers
	find . -mindepth 1 -maxdepth 1 -type d -not -empty -not -name ".*" | while read -r i; do
		cp -R "$i" "$pkgdir"/usr/share/asteroid-launcher/wallpapers/
	done
}

sha512sums="
6acfbb74f7620abfa57acb72f3f044ccec082beb1fb5111bba9256201088ca68d20c1f838c7fda8495afc5462813a07461aff09099129190ad3d11cd84451932  asteroid-wallpapers-2.0.0.tar.gz
"
